package com.cts.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.cts.entity.Friend;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cts.entity.Tag;
import com.cts.model.dto.FriendDTO;
import com.cts.model.vo.FriendVO;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
* @author tongshengchen
* @description 针对表【friend】的数据库操作Mapper
* @createDate 2023-02-06 12:25:57
* @Entity down.cts.eneity.Friend
*/
@Mapper
@Repository
public interface FriendMapper extends BaseMapper<Friend> {

    Boolean updatePublished(Integer id, Boolean isPublished);

    List<Friend> getFriendByName(String nickName);

    List<FriendVO> getFriendList();
}




